import redis = require("redis");
export class Redis{
    protected client;

    public connect(host,port){
        this.client = redis.createClient(port, host);  
        
        this.client.on("error", function(err){  
            console.log("Error: " + err);  
        });

        return this.client;
    }
}

export default Redis;